package cn.tedu.seckill.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.tedu.common.pojo.Seckill;

/**
 * seckill表格
 * @author Administrator
 *
 */
public interface SecMapper {

	List<Seckill> queryAll();

	Seckill queryOne(Long seckillId);

	int updateNum(@Param("seckillId")Long seckillId, @Param("nowTime")Date nowTime);

}
